<%-- 
    Document   : fail
    Created on : Dec 20, 2011, 10:45:16 AM
    Author     : administrator
--%>

<%@page errorPage="/pages/error.jsp" contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>

<!-- RichFaces tag library declaration -->
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<f:view locale="#{languagesBean.locale}">
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title><h:outputText value="#{lang.failTitle}"/></title>
        </head>
        <body>
            <jsp:include page="/pages/header.jsp"/>
            <a4j:outputPanel  style="width:250px; height:200px; text-align:center; margin-left:auto; margin-right:auto;">
                <h:outputText value="#{lang.failMsg}"/><br>
                <a4j:form>
                    <a4j:commandLink  value="#{lang.failGoHome}" action="#{user.doLogout()}"/>
                </a4j:form>
            </a4j:outputPanel>
        </body>
    </html>
</f:view>